package cc.rboot._core.helper;

import org.aspectj.lang.ProceedingJoinPoint;

import java.lang.annotation.Annotation;

public class AnnotationHelper {
    public static <T extends Annotation> T get(ProceedingJoinPoint joinPoint, Class<T> clazz) {
        return MethodHelper.get(joinPoint).getAnnotation(clazz);
    }
}
